1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00
bitwarden-browser/apps/cli/src/commands
Robyn MacCallum d799529428
[SG 623] Send Service Refactor (#4327)
* Split out api methods into sendApiService

* Move SendService and abstraction

* Libs updates

* Web updates

* CLI updates

* Desktop updates

* libs send service fixes

* browser factory additions

* Browser updates

* Fix service injection for CLI SendReceiveCommand

* Deprecate directly calling send state service methods

* SendService observables updates

* Update components to use new observables

* Modify CLI to use state service instead of observables

* Remove unnecessary await on get()

* Move delete() to InternalSendService

* SendService unit tests

* Split fileUploadService by send and cipher

* send and cipher service factory updates

* Add file upload methods to get around circular dependency issues

* Move api methods from sendService to sendApiService

* Update cipherService to use fileApi methods

* libs service injection and component changes

* browser service injection and component changes

* Desktop component changes

* Web component changes

* cipher service test fix

* Fix file capitalization

* CLI service import and command updates

* Remove extra abstract fileUploadService

* WIP: Condense callbacks for file upload

Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>

* Send callbacks for file upload

* Fix circular service dependencies

* Fix response return on upload

* Fix function definitions

* Service injection fixes and bug fixes

* Fix folder casing

* Service injection cleanup

* Remove deleted file from capital letters whitelist

* Create new SendApiService for popup

* Move cipherFileUploadService to vault

* Move SendFileUploadService methods into SendApiService

* Rename methods to remove 'WithServer'

* Properly subscribe to sendViews

* Fix Send serialization

* Implement fromJSON on sendFile and sendText

* [PM-1347] Fix send key serialization (#4989)

* Properly serialize key on send fromJSON

* Remove call that nulled out decrypted sends

* Fix null checks in fromJSON methods for models

* lint fixes

---------

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2023-03-28 12:37:40 -04:00
..
send [SG 623] Send Service Refactor (#4327) 2023-03-28 12:37:40 -04:00
completion.command.ts [PM-1512] Upgrade prettier (#5028) 2023-03-21 11:28:15 +01:00
config.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
convert-to-key-connector.command.ts [AC-1011] Admin Console / Billing code ownership (#4973) 2023-03-22 10:03:50 -05:00
download.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
edit.command.ts [AC-1011] Admin Console / Billing code ownership (#4973) 2023-03-22 10:03:50 -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
export.command.ts [AC-1011] Admin Console / Billing code ownership (#4973) 2023-03-22 10:03:50 -05:00
get.command.ts [AC-1011] Admin Console / Billing code ownership (#4973) 2023-03-22 10:03:50 -05:00
list.command.ts refactor: move organization service and organization-user response to admin-console, refs AC-1202 (#5055) 2023-03-27 14:38:57 -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 [SG 623] Send Service Refactor (#4327) 2023-03-28 12:37:40 -04:00
status.command.ts Auth/ps 2298 reorg auth (#4564) 2023-02-06 15:53:37 -06:00
update.command.ts Ps 1061 cli update command returns wrong version (#4071) 2022-11-30 15:47:19 -07:00