1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-09 05:57:40 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Matt Gibson
323c3ee04a
Feature/password protected export (#446)
* Update jslib

* Bumped version to 1.20.0 (#421)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 3e4aa8e476)

* password protected export

* Run Prettier

* Add importer to list of known file types

* Improve launch.json settings

* Turn on import from password protected file

* Run prettier

* Fix webpack source map path change

* Update getPassword helper to use new options class

* Prettier

* Add client type

* Remove master password requirement for export

Alter password optional argument to indicating the file should be password protected rather than account protected

* update jslib

* Handle passwordProtected automagically

* Remove passwordproteted type from import command

* Update src/utils.ts

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>

* Update src/vault.program.ts

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>

* Use new util method

* remove password protected format

* Update jslib

* Clarify export command

* Run prettier

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Gibson <gibson.matt10@gmail.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2022-02-23 15:47:32 -06:00
Thomas Rittson
220afb98c6
Update client for authService refactor (#448)
* Update for encrypted export support (to pass build only)
2022-02-07 17:31:36 -06:00
Addison Beck
179f1dfe5d
[refactor(Account Switching)] Implement StateService (#424) 2021-12-28 15:38:51 -05:00
Oscar Hinton
910b4a24e6
Apply Prettier (#426) 2021-12-20 18:04:00 +01:00
Matt Gibson
17ab740914
Allow import to organization (#325)
* Allow import to organization vaults

* Use organization-aware Importer
2021-06-16 08:50:29 -05:00
Oscar Hinton
477066118e
Add jslib as a "real" dependency (#321)
* Split jslib

* Bump jslib

* Bump jslib, replace alias with tsconfig-paths-webpack-plugin
2021-06-07 19:25:55 +02:00
Matt Gibson
3b91a2c72b
Ban single paren arrow functions (#226)
* Fix glob processing in npm. Ban single param parens

* Match typescript linter rules
2021-02-03 22:51:59 -06:00
Matt Gibson
57f7cf607a
Add send to cli (#222)
* Add list all sends and filter by search term

* Add get send templates

* Add AccessUrl to send responses

* Add Send to Get command

* Add missing command options to login

These options are already coded to work in the command, but commander
did not know about the options.

* Upgrade Commander to 7.0.0

This is needed to enable the subcommand chaining required by Send.

This commit also adds get send and send receive functionality. get send
will be moved to send get along with send list and any other send commands.

* Use api url for send access url

* Move send commands to send subcommands

* Use webvault access url everywhere

Production instances all have api url located at `baseUrl/api`.
Receive command will parse the webvault url and alter it to an api url.

* Move create and receive commands to send directory

* Separate program concerns

program holds authentication/general program concerns
vault.program holds commands related to the vault
send.program holds commands related to Bitwarden Send

* Fix up imports and lint items

* Add edit command

* Use browser-hrtime

* Add send examples to help text

* Clean up receive help text

* correct help text

* Add delete command

* Code review Cleanup

* Scheme on send receive help text

* PR review items

Move buffer to array buffer to jslib
delete with server
some formatting fixes

* Add remove password command

This is the simplest way to enable removing passwords without
resorting to weird type parsing of piped in Send JSONs in edit

* Default hidden to false like web

* Do not allow password updates that aren't strings or are empty

* Delete appveyor.yml.flagged-for-delete

* Correctly order imports and include tslint rule

* fix npm globbing problem

https://stackoverflow.com/a/34594501
globs work differently in package.json. Encasing the globs in
single quotes expands them in shell rather than in npm

* Remove double slash in path

* Trigger github rebuild
2021-02-03 11:44:33 -06:00
Kyle Spearrin
30b7b93fab
updates for encrypted export and import (#198)
* react to changes for encrypted import

* support encrypted json export

* default back to csv
2020-12-08 12:35:37 -05:00
Kyle Spearrin
a3ba833f0d move shared CLI items to jslib 2019-03-15 22:34:59 -04:00
Kyle Spearrin
729965aae2 should be != null check 2018-10-11 16:46:04 -04:00
Kyle Spearrin
e3c2be9e84 password is not needed for import 2018-08-16 14:43:12 -04:00
Kyle Spearrin
acd562e18c prelogin kdf info 2018-08-14 15:13:40 -04:00
Kyle Spearrin
f988c77755 update for jslib importer service changes 2018-08-06 11:43:07 -04:00
Kyle Spearrin
336e4acdd0 standardize import command 2018-08-06 10:38:32 -04:00
Brandon Davis
47b5b9f950 feature/18-import (#19)
* fix #18

* Add locked check
2018-08-06 09:38:17 -04:00