Migrated vault filters to new v3 vault's navigation
* Decoupled existing vault filtering from vault component by using routed params with routed-vault-filter-bridge
* Converted vault filters to standalone components
* Removed extending filter Base Components from deprecated /libs/angular library and handled logic directly
* Moved shared 'models' and 'services' directories from web-vault into /libs/vault
The goal of this PR is to migrate the Desktop Send-v2 component from the AddEditComponent to now use to shared SendAddEditDialogComponent from @bitwarden/send-ui library
---------
Co-authored-by: William Martin <contact@willmartian.com>
Co-authored-by: Hinton <hinton@users.noreply.github.com>
* [deps] Platform: Update electron-store to v11
* wip-fix: all imports failing due to nodenext switch
* fix: desktop tsconfig not working properly
Renderer tsConfigPath was wrong so it defaulted to the base `tsconfig.json` which
included every single sourcefile into the angular artifact. This caused errors
with ESM modules which behave differently on node and needed a separate `tsconfig.json`
configuration.
* fix: revert some of the changes made to tools code
* fix: ESM import in tests
* chore: use consistent path
* feat: actually use custom tsconfig for preload
* fix: use correct entry point in tsconfig.main.json
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
When account switching from the old layout it's not bringing you into the new design. This resolves it by ensuring the route guard for vault is triggered after account switching.
* auto-assign selected collection for new vault items
* Ensure a selected collectionId in the vault filter is passed on to a newly created cipher.
Fixes#15485
* Assign selected folder and collection when creating a new cipher
Added here to prevent a regression whenever we switch over to this componet and deprecate vault-v2.component
* account for null folderIds
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Jordan Aasen <166539328+jaasen-livefront@users.noreply.github.com>
Co-authored-by: jaasen-livefront <jaasen@livefront.com>
Removal of SHIFT from valid modifier keys. As it stands, we allow [SHIFT + `<a-z>`] , which would prevent users from capitalizing letters. As a result, the default shortcut has to change (because it included SHIFT). Changed to CONTROL + ALT + b
* add callout to vault-items for non premium users, add upgrade premium flow
* add archive badge to item details only for desktop
* update desktop edit item save for unarchive
* updated success toast for edited archive item non premium
This PR moves the Desktop Send list UI into a shared library component and updates the Desktop Send v2 component to use modern Angular patterns (Signals, OnPush, no manual subscriptions)
* Desktop Autotype toggle on vault lock/unlock
* lint
* add back disable on will-quit signal
* improve IPC message args
* claude: takeUntilDestroyed
* claude: try/catch
* claude: multiple listeners
* claude: ===
* claude: concatMap
* claude: IPC Handler Registration in Constructor
* claude: helper function
* claude: Type Safety for IPC Messages
* fix claude suggestion?
* bit by commit hook file write again
* remove the type qualifier
* add log svc dep
* move the initialized ipcs back to constructor
* frageele?
* try disable premium check
* replace takeUntilDestroy with takeUntil(destroy)
* add import
* create separate observable for premium check
* clean up and remove distinctUntilChanged
* re-add distinctUntilChanged
* ipc handlers in init
* check double initialization
* Revert "check double initialization"
This reverts commit 8488b8a613.
* Revert "ipc handlers in init"
This reverts commit a23999edcf.
* ipc out of constructor
* claude suggestion does not compile, awesome
* add a dispose method for cleanup of ipc handlers
* claude: remove of(false) on observable initializing
* claude: remove the init/init'd
* claude: remove takeUntil on isPremiumAccount
* Revert "claude: remove takeUntil on isPremiumAccount"
This reverts commit 9fc32c5fcf.
* align models file name with interface name
* rename ipc listeners function
* improve debug log message
* improve debug log message
* remove reference to not present observable in unit test
* add function comment
* make `autotypeKeyboardShortcut` private
* auto key not stored due to vault timeout race condition being null for cli
* fix unit test default state
* neglected electron key service test cleanup
* bad merge - fix formatting
* [PM-23258] changing verbiage from import data to import items
* [PM-23258] Removing vault and data from import and export titles, navs, and buttons
* [PM-23258] more verbiage changes
* [PM-23258] reverting unnecessary change
* [PM-23258] removing unused text from messages json files
* [PM-23258] small text changes from design
* [PM-23258] including secrets manager changes
* Add creationDate of account to AccountInfo
* Added initialization of creationDate.
* Removed extra changes.
* Fixed tests to initialize creation date
* Added helper method to abstract account initialization in tests.
* More test updates.
* Linting
* Additional test fixes.
* Fixed spec reference
* Fixed imports
* Linting.
* Fixed browser test.
* Modified tsconfig to reference spec file.
* Fixed import.
* Removed dependency on os. This is necessary so that the @bitwarden/common/spec lib package can be referenced in tests without node.
* Revert "Removed dependency on os. This is necessary so that the @bitwarden/common/spec lib package can be referenced in tests without node."
This reverts commit 669f6557b6.
* Updated stories to hard-code new field.
* Removed changes to tsconfig
* Revert "Removed changes to tsconfig"
This reverts commit b7d916e8dc.
* feat(token-service) [PM-15333]: Update Portable secure storage resolution to use disk.
* feat(token-service) [PM-15333]: Move isWindowsPortable evaluation to preload with other platform evaluations.
* Replace usages of app-callout with bit-callout
* Delete callout.component
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
* feat: add Identity Sso Required Response type as possible response from token endpoint.
* feat: consume sso organization identifier to redirect user
* feat: add get requiresSso to AuthResult for more ergonomic code.
* feat: sso-redirect on sso-required for CLI and Desktop
* chore: fixing type errors
* test: fix and add tests for new sso method
* docs: fix misspelling
* fix: get email from AuthResult instead of the FormGroup
* fix:claude: when email is not available for SSO login show error toast.
* fix:claude: add null safety check