clients/apps/cli/src/commands
SmithThe4th 10c8a2101a
[PM-12049] Remove usage of ActiveUserState from folder service (#11880)
* Migrated folder service from using active user state to single user state

Added extra test cases for encrypted folder and decrypted folders

Updated derived state to use decrypt with key

* Update callers in the web

* Update callers in the browser

* Update callers in libs

* Update callers in cli

* Fixed test

* Fixed folder state test

* Fixed test

* removed duplicate activeUserId

* Added takewhile operator to only make calls when userId is present

* Simplified to accept a single user id instead of an observable

* Required userid to be passed from notification service

* [PM-15635] Folders not working on desktop (#12333)

* Added folders memory state definition

* added decrypted folders state

* Refactored service to remove derived state

* removed combinedstate and added clear decrypted folders to methods

* Fixed test

* Fixed issue with editing folder on the desktop app

* Fixed test

* Changed state name

* fixed ts strict issue

* fixed ts strict issue

* fixed ts strict issue

* removed unnecessasry null encrypteed folder check

* Handle null folderdata

* [PM-16197] "Items with No Folder" shows as a folder to edit name and delete (#12470)

* Force redcryption anytime encryption state changes

* Fixed text file

* revert changes

* create new object with nofolder instead of modifying exisiting object

* Fixed failing test

* switched to use memory-large-object

* Fixed ts sctrict issue

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
2025-01-02 17:16:33 -05:00
..
completion.command.ts Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
convert-to-key-connector.command.ts Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
download.command.ts [PM-686] [CLI] Add proxy support for file downloads (#7345) 2024-12-10 09:36:53 -05:00
edit.command.ts [PM-12049] Remove usage of ActiveUserState from folder service (#11880) 2025-01-02 17:16:33 -05:00
encode.command.ts [PS-1884] [TDL-189] [TDL-203] Move libs/node files to CLI and rename per ADR12 (#4069) 2022-11-18 13:20:19 +01:00
get.command.ts [PM-12049] Remove usage of ActiveUserState from folder service (#11880) 2025-01-02 17:16:33 -05:00
list.command.ts [PM-12049] Remove usage of ActiveUserState from folder service (#11880) 2025-01-02 17:16:33 -05:00
restore.command.ts [SG-998] and [SG-999] Vault and Autofill team refactor (#4542) 2023-01-31 16:08:37 -05:00
serve.command.ts [BEEEP: PM-10190] Use strict TS checks in CLI service container (#10298) 2024-08-05 11:39:08 -04:00
status.command.ts Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
update.command.ts Add support for using a proxy when running bw update (#7347) 2024-12-10 09:36:14 -05:00