* [PM-46048] feat: Show item counts on nested folder cards
Each card in the folder grid counts the items in its folder and every
folder nested beneath it, so drilling into a folder keeps the total the
parent list showed.
* [PM-46048] fix: Exclude archived items from folder item counts
* Recover account for read-only admins on table v2 members page
* Fixes from design review critiques
* Fix sizing from Jillian's critiques for design review
* keep cipher open in dialog in sync
* fix cancel button not working after a failed save
* allow dialog to refresh in AC
* reword comments
* fix potential permission shifting
* [PM-46898] fix: Name new My items collections with myItemsV2
The default user collection was named from the "myItems" key ("My Items"),
while the rest of the UI uses "myItemsV2" ("My items"). Switch the web,
browser, desktop and CLI paths that create the collection to "myItemsV2"
and drop the now-unused "myItems" key. Existing collections keep their
stored name.
* Use errorImportingMyItemsMultiCollectionV2 for the lowercase My items import error
* Label the My items shared folder from i18n in the vault table
* Label the My items shared folder from i18n in the item view and edit form
* Keep other members' emails on their My items collections and test the labels
* PM-21300 - Move registration from libs/auth to libs/angular
Relocates the registration feature (registration-start, registration-finish,
registration-link-expired, registration-env-selector) to
libs/angular/src/auth/registration with its own barrel. Browser, desktop, web,
and jslib-services now import from the new location. Adds the libs/angular mdx
glob to Storybook so the registration-start docs page keeps rendering.
* PM-21300 - Remove leftover import comment
* PAM-617: count the Shared folders options in one pass and look up collection names by id
* PAM-617: drop the manual Shared folders counts, since the table's own count is fast with the id map
* Update sdk-internal to 0.2.0-main.1202
* Implement PIN length storage in JsWasmStateBridge
sdk-internal 0.2.0-main.1202 adds required set/get/clear_pin_length members to WasmStateBridge (bitwarden/sdk-internal#1708). The SDK stores the PIN's character count unencrypted so a lock screen can read it while locked, so it is backed by a new PIN_DISK state key that clears on logout.
* Try the PIN as soon as it is fully typed
Unlocking with a PIN needed a press of Unlock, or Enter, after typing
it. The SDK now stores the PIN's length through the state bridge, and
the lock screen submits the PIN as soon as that many characters are
typed. A wrong PIN of that length counts as an attempt, as if Unlock
was pressed.
The form's submit handler restarted on every submit rather than
ignoring one while the last ran, so the automatic try plus an Enter
cost two of the five allowed attempts. A submit while the PIN is being
tried is now ignored.
The length is stored unencrypted, since the lock screen reads it while
locked.
---------
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
Consumers project a bit-berry, which the avatar sizes and places at the top end corner. The
avatar is masked around it instead of drawing a ring, so the gap works on any background.
* [PM-43274] feat: Add Privileged Controls plan pricing and billing flag
* [PM-43274] feat: Add Privileged Controls purchase call to the organization billing client
* [PM-43274] feat: Add the Privileged Controls purchase component
* [PM-43274] feat: Show the Privileged Controls purchase on the subscription page
* [PM-43274] fix: Skip the Privileged Controls purchase when seats are empty
* [PM-43274] fix: Validate the Privileged Controls purchase form before submitting
* [PM-43274] feat: Add the Privileged Controls product logo
The Privileged Controls purchase block needs header art matching the Secrets Manager purchase block. This mirrors SecretsManagerAlt with the product name outlined in DM Sans, the brand font used by the Secrets Manager artwork.
* [PM-43274] feat: Polish the Privileged Controls purchase block
- Show the logo and feature copy in place of the placeholders
- Show the More from Bitwarden heading once when the Secrets Manager purchase is also on the page
- Show the max potential seat cost under the seat limit, as Password Manager does
- Require the seat limit to be a whole number above the seat count so it is a limit the organization can autoscale up to
* [PM-43274] fix: Reject decimal Privileged Controls seat counts
Seats are bought in whole units, but the seat count field accepted values like 10.5.
* [PM-43274] feat: Cap Privileged Controls seats at Password Manager seats
Privileged Controls no longer has a seat minimum. An organization can buy from 1 seat up to its Password Manager seat count, and its Privileged Controls seat limit can't exceed its Password Manager seat limit, or its Password Manager seat count when it has no limit.
- Remove the seat minimum validation, its hint, and the unused defaultSeatMinimum plan field
- Default seats to 1
* [PM-43274] fix: Hide the Privileged Controls purchase when the server reports it
The purchase block checked usePam on the locally synced organization, which stays stale until the client syncs. An organization that got Privileged Controls in another session still saw the purchase offer. Read usePam from the subscription response instead, which the page fetches fresh on load.
* [PM-43274] refactor: Simplify the Privileged Controls purchase form
Keeps every seat check on the field that displays it, so errors show under
the right input without a parent lookup, and drops the enable/disable
toggling that the template's @if already covers. Also hides the purchase for
provider organizations, matching the Secrets Manager subscribe gate.
* [PM-43274] feat: Update Secrets Manager and Privileged Controls purchase copy
Match the updated design copy for the More from Bitwarden cards. Secrets
Manager gets new keys because its existing strings are already translated.
* [PM-43274] fix: Add a space between the slash and interval in purchase prices
* [PM-43274] feat: Hide the Privileged Controls seat limit behind a limit checkbox
Match the Password Manager seat limit pattern so the seat limit is opt-in.
Unchecking the limit clears it so no hidden value is submitted.
* [PM-43274] feat: Apply final Secrets Manager and Privileged Controls copy
Design finalized the More from Bitwarden copy. Privileged Controls gets the
new description and feature list. Secrets Manager gets a new description key,
since the old string is already translated.
* [PM-43274] fix: Use semantic color tokens in the purchase blocks for dark mode
The legacy muted text and secondary border tokens don't match the design in
dark mode. Use fg-body, fg-heading, and border-base, as the design specifies.
* [PM-43274] feat: Drop "included" from the Secrets Manager machine accounts bullet
Match the final design copy. Reuse the existing includedMachineAccountsV2 key,
which already reads "$COUNT$ machine accounts", and remove the now-unused
machineAccountsIncluded key.
* [PM-43274] feat: Show the Secrets Manager and Privileged Controls purchase blocks as accordions
Design asked for each purchase block's header to be an accordion header.
Use the design system accordion's default variant as is, open by default.
The accordion title replaces the header art and in-block title, so remove
the now-unused plan name title code and its strings.
The Secrets Manager block is shared, so the organization plans page and
the legacy subscription page also show the accordion.
* [PM-43274] chore: Remove the unused Secrets Manager and Privileged Controls header art
The purchase blocks now use accordion headers, so nothing references these
SVGs anymore.
* [PM-43274] feat: Update the Privileged Controls seat limit hint copy
Design asked for the hint to say members can't be given access to
Privileged Controls once the limit is reached.
* [PM-43274] fix: Add spacing between the purchase block feature bullets
Design flagged the bullet list as too tight. Add 8px between items, as
the design specifies.
* [PM-43274] chore: Remove the unused subscribeToSecretsManager string
The Secrets Manager purchase checkbox now reads addSecretsManager, so nothing reads this key.
* [PM-43274] test: Fold the Privileged Controls plan parsing assertions into one test
The new test duplicated "parses PrivilegedControls when present", so its seat plan ID and base seats assertions move there.
`bw update` picked the first release zip whose URL contained `bw-<os>`.
It ignored which build was running and the CPU architecture, so OSS users
were sent the commercial build and arm64 users were sent the x64 build.
- Add `licenseType` to the CLI ServiceContainer ("oss"), overridden to
"bit" in the Bitwarden-licensed container, and pass it to UpdateCommand.
- Build the exact asset name, bw-{license}-{os}[-arm64]-{version}.zip,
from the license, process.platform, process.arch and the release tag,
and match it against asset names.
- Fall back to the release page when no matching asset exists or the
OS/architecture has no published build.
- Type the GitHub release response and remove @ts-strict-ignore.
Depends on the bw-bit-* asset rename (BRE-2408).
Commercial CLI zips were unprefixed (bw-linux-*, bw-macos-*, bw-windows-*)
while OSS zips use bw-oss-*. Set the commercial artifact_prefix to -bit so
both license types follow bw-{license}-{os}[-arm64]-{version}.zip, and point
the snap job and snapcraft.yaml at bw-bit-linux-*.
* Vault: show restricted ciphers in the browser popup
The popup lists restricted (partial) ciphers and swaps in a cipher's
revealed view while one exists. The edit, clone and assign-collections
routes send a blocked restricted cipher back to its view, and the view
page, more-options menu, copy actions, password history and add-edit
respect the restricted-cipher rule.
A host can provide VAULT_ROW_ACCESS for each row's access status and
overflow actions, and contribute list table filters with coloured tiles.
Unprovided, rows show no status and the popup behaves as before.
* Vault: replace the popup's row access seam with neutral slots
Addresses review feedback on #24596.
- Replace VAULT_ROW_ACCESS with VAULT_ROW_ICON (a component slot) and
VAULT_ROW_SUBTITLE (a text provider). item-more-options renders
VAULT_ROW_ACTIONS after View, checked against its own built-in IDs.
- Add an optional `disabled` to row actions, honoured by web's menu too,
and export the contributed action ID check from CipherRowMenuService.
- Drop accessActive from the more-options menu, so edit under a live
reveal follows the restricted-cipher policy. Clone checks the policy.
- Name the list table's contributed filter generically, key it by the
provider's `key`, and persist selections as contributedFilterIds.
- Move gating into the row actions (showCopyActions) and launchCipher,
and drop the separate revealed-ID stream: the list already swaps
revealed views in for their restricted rows.
- Lift the view footer's edit and restore conditions into the component.
- Drop the five browser strings, which Vault no longer uses.
Extracts FillCipherPolicy from pam/uat. Autofill reads ciphers only
through the policy with a CipherUse. The OSS DefaultFillCipherPolicy
wraps CipherService and changes no behaviour; a commercial build can
supply its own through MainBackground's new overrides argument.
Every user-started fill, the save prompt, the badge, the context menu
and the inline menu go through the policy, and refresh when it reports a
change. An eslint no-restricted-syntax rule blocks direct CipherService
lookups in Autofill.
main.background.ts takes only the policy's hunks. CipherService keeps
its messagingService argument (B5), and the revealedCipherService
override and the public messageListener stay out (A10).
* win_webauthn: Add raw GetAssertion types and functions
* win_webauthn: Add safe wrappers for GetAssertion
* win_webauthn: Support the appid extension in GetAssertion
* [PM-27100] Add the autotype client models, draft
* [PM-27100] URI label change
* [PM-27100] Move autotype pairing data schema to libs/common
* [PM-27100] Add more comments
* [PM-27100] Update this PR based on schema 1.0.0 change from #24468
* [PM-27100] Retain unknown params in uri for future optional compatability
* [PM-27100] Handle non-empty strings
* [PM-27100] Small tests change
* [PM-27100] Small comment change
* [PM-27100] Remove (URI) from text
Takes the access connectors list, detail page and dialogs from pam/uat
byte for byte, deletes rotation/skeleton-delay.ts now that no tab reads
it, and moves the web strings: 27 added, 30 removed, and a corrected
description on pamAccessConnectorAssignmentsNone.