1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 06:23:38 +00:00
Commit Graph

69 Commits

Author SHA1 Message Date
✨ 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 ✨
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
✨ 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
✨ 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
✨ 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
✨ Audrey ✨
090c19fa5e prettier 2025-03-07 18:25:31 -05:00
✨ Audrey ✨
4455278704 additional tests; fix disabled semantic logger panic behavior 2025-03-07 17:36:26 -05:00
✨ Audrey ✨
f12966fe7b additional unit tests; fixes 2025-03-07 17:18:12 -05:00
✨ Audrey ✨
fabc7037f2 Merge branch 'main' into tools/pm-18665/introduce-metadata-provider 2025-03-06 11:35:20 -05:00
✨ Audrey ✨
9761588a2a [PM-16790] introduce extension service (#13590) 2025-03-06 11:32:42 -05:00
✨ Audrey ✨
0ef36d4ca1 partial unit test implementation 2025-03-06 09:47:59 -05:00
✨ Audrey ✨
e10b5af9d3 [PM-16791] introduce generator profile provider (#13588) 2025-03-03 12:43:34 -05:00
✨ Audrey ✨
d64589724f fix compile errors; missing metadata tests 2025-03-03 10:06:38 -05:00
✨ Audrey ✨
5c6a6da101 Revert "factor out generator metadata provider"
This reverts commit 3f40d72b5c.
2025-02-28 11:56:39 -05:00
✨ Audrey ✨
86324e5744 add documentation 2025-02-27 12:45:01 -05:00
✨ Audrey ✨
3f40d72b5c factor out generator metadata provider 2025-02-27 12:04:03 -05:00
✨ Audrey ✨
19c51ca31e introduce extension service 2025-02-26 15:26:29 -05:00
✨ Audrey ✨
b4bfacf6e3 [PM-16792] [PM-16822] Encapsulate encryptor and state provision within UserStateSubject (#13195) 2025-02-21 17:00:51 -06:00
Bernd Schoolmann
2f8a7a95bd [PM-15994] Move encrypt service to km ownership (#13220)
* Move encrypt service to km ownership

* Update imports for encrypt service abstraction and move bulk encrypt service abstraction

* Fix imports

* Fix further imports

* Fix imports

* Fix worker import
2025-02-05 17:39:11 +01:00
✨ Audrey ✨
1fc20b55f2 [PM-15200] add "generated credential" screen reader notification (#12877)
replaces website$ dependency with `GenerateRequest`
2025-01-24 13:44:42 -06:00
Jordan Aasen
2579c29c73 update button copy for generate passphrase. remove legacy css class (#12841) 2025-01-16 13:37:46 -08:00
✨ Audrey ✨
cc311d9a92 [PM-16788] introduce generator metadata (#12757) 2025-01-16 09:02:28 -06:00
Jordan Aasen
e1434d8dd5 [PM-16858] - adjust generator dialog action button to match browser extension UI (#12788)
* adjust generator dialog buttons to match browser extension UI

* put dialog label into generator config

* fix types. remove i18n key

* use event emitted pattern for getting algorithm config

* favor arrow function

* move function call

* append key to i18n prop

* fix test
2025-01-10 17:21:12 -08:00
✨ Audrey ✨
f1c3c690a7 remove circular dependency from @bitwarden/generator-core (#12785) 2025-01-09 13:18:45 -05:00
✨ Audrey ✨
b2af12ab24 [PM-15872] fix username generation character limit (#12329) 2024-12-10 11:08:01 -05:00
Matt Gibson
9c1e2ebd67 Typescript-strict-plugin (#12235)
* Use typescript-strict-plugin to iteratively turn on strict

* Add strict testing to pipeline

Can be executed locally through either `npm run test:types` for full type checking including spec files, or `npx tsc-strict` for only tsconfig.json included files.

* turn on strict for scripts directory

* Use plugin for all tsconfigs in monorepo

vscode is capable of executing tsc with plugins, but uses the most relevant tsconfig to do so. If the plugin is not a part of that config, it is skipped and developers get no feedback of strict compile time issues. These updates remedy that at the cost of slightly more complex removal of the plugin when the time comes.

* remove plugin from configs that extend one that already has it

* Update workspace settings to honor strict plugin

* Apply strict-plugin to native message test runner

* Update vscode workspace to use root tsc version

* `./node_modules/.bin/update-strict-comments` 🤖

This is a one-time operation. All future files should adhere to strict type checking.

* Add fixme to `ts-strict-ignore` comments

* `update-strict-comments` 🤖

repeated for new merge files
2024-12-09 20:58:50 +01:00
✨ Audrey ✨
ab21b78c53 [PM-15061] extract encryptors from generator service (#12068)
* introduce legacy encryptor provider
* port credential generation service to encryptor provider
2024-11-28 11:02:21 +01:00
Michal Vaněk
06b3c37f03 [PM-15167] Fix password generator ascii ambiguous sets (#12143)
Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2024-11-25 10:46:17 -05:00
✨ Audrey ✨
3521c54672 [PM-14964] revert passphrase minimum (#12019)
* revert passphrase minimum
* add recommendation text to browser refresh;  hide hint text when value exceeds recommendation
* migrate validators to generator configuration
2024-11-18 13:43:03 -06:00
✨ Audrey ✨
642b8d2e6b [PM-14838] upgrade generator account storage to ObjectKey storage (#11975) 2024-11-14 10:09:59 -05:00
✨ Audrey ✨
888b9e346c fix length allowing negative values on Chrome extension (#11926) 2024-11-11 16:48:32 +01:00
✨ Audrey ✨
b2811e07ce [PM-14198] zero minimums when the character category is disabled (#11906) 2024-11-07 21:23:01 +01:00
✨ Audrey ✨
414bdde232 [PM-13876] replace angular validation with html constraints validation (#11816)
* rough-in passphrase validation failure handling

* trigger valid change from settings

* fix `max` constraint enforcement

* add taps for generator validation monitoring/debugging

* HTML constraints validation rises like a phoenix

* remove min/max boundaries to fix chrome display issue

* bind settings components as view children of options components

* remove defunct `okSettings$`

* extend validationless generator to passwords

* extend validationless generator to catchall emails

* extend validationless generator to forwarder emails

* extend validationless generator to subaddress emails

* extend validationless generator to usernames

* fix observable cycle

* disable generate button when no algorithm is selected

* prevent duplicate algorithm emissions

* add constraints that assign email address defaults
2024-11-06 17:54:29 +01:00
✨ Audrey ✨
c780cbc77e use valueLabel with appCopyClick directive (#11718)
* add `valueLabel` to `appCopyClick` directives 
* move generated value description to the configuration
2024-10-25 23:43:49 +02:00
✨ Audrey ✨
0254550b07 increase minimum number of words on passphrases to 6 (#11675) 2024-10-24 15:16:10 -04:00
Bernd Schoolmann
b486fcc689 [Pm-13097] Rename cryptoservice to keyservice and move it to km ownership (#11358)
* Rename cryptoservice to keyservice

* Rename cryptoservice to keyservice

* Move key service to key management ownership

* Remove accidentally added file

* Fix cli build

* Fix browser build

* Run prettier

* Fix builds

* Fix cli build

* Fix tests

* Fix incorrect renames

* Rename webauthn-login-crypto-service

* Fix build errors due to merge conflicts

* Fix linting
2024-10-24 19:41:30 +02:00
✨ Audrey ✨
eff9a423da [PM-8280] email forwarders (#11563)
* forwarder lookup and generation support
* localize algorithm names and descriptions in the credential generator service
* add encryption support to UserStateSubject
* move generic rx utilities to common
* move icon button labels to generator configurations
2024-10-23 18:11:42 +02:00