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

32 Commits

Author SHA1 Message Date
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
Thomas Rittson
85f4f1e727
[Key Connector] Add support for key connector (#406)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 19:00:16 +01:00
Vincent Salucci
325e9ded0d
[Reset Password] Refactor to use new auth result (#380)
* [Reset Password] Refactor to use new auth result

* Update jslib

* Update class to fix build
2021-10-12 16:51:14 -05:00
Oscar Hinton
8690f51e2f
Disable Private Vault Export Policy (#371) 2021-09-15 15:57:43 +02:00
Vincent Salucci
1a1ba6ed3b
[Reset Password v1] Update Temp Password (#356)
* [Reset Password v1] Update Temp Password

* updated jslib

* fetched email before checking for reset master password

Co-authored-by: addison <addisonbeck1@gmail.com>
2021-08-10 13:35:41 -04: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
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
Addison Beck
2c29df7a86 changed command from login --apiKey to login --apikey 2020-11-10 12:21:35 -05:00
Addison Beck
421de80daf Added --apiKey option to the login command 2020-11-01 14:57:33 -05:00
Kyle Spearrin
7733b95a71 update jslib 2020-09-23 11:59:30 -04:00
Kyle Spearrin
080d9f29e9 update jslib 2020-08-04 08:50:22 -04:00
Kyle Spearrin
bd0f28b3be
SSO login (#154)
* support sso login

* update jslib

* set clientid in base login command
2020-08-03 12:30:32 -04:00
Kyle Spearrin
b846ce3f89 use shared login/logout commands 2019-03-18 10:33:43 -04:00
Kyle Spearrin
a3ba833f0d move shared CLI items to jslib 2019-03-15 22:34:59 -04:00
Casey Watson
4b99745114 Don't show * mask when entering password (#23)
- The * mask has the potential to leak the users password length and
should not be used.

Fixes #8
2018-08-16 16:01:25 -04:00
Kyle Spearrin
e0ff13e193 check response in all cases 2018-08-03 11:27:42 -04:00
Kyle Spearrin
04b63d16ee formatting 2018-06-18 22:11:05 -04:00
Keith Kelly
c7160c0870 Use stderr for prompts to better allow scripting (#14)
* Update invocations of inquirer.js prompts to output prompt to stderr.

fixes #7

* Updates to use updated typings from @types/inquirer
2018-06-18 22:07:45 -04:00
Kyle Spearrin
200effe772 switch from readline sync to inquirer 2018-05-23 11:16:23 -04:00
Kyle Spearrin
33f0f5eae0 update template ids 2018-05-18 09:16:34 -04:00
Kyle Spearrin
576c529b10 powershell examples 2018-05-16 23:27:47 -04:00
Kyle Spearrin
b4678e53d2 full sync after login 2018-05-16 21:16:42 -04:00
Kyle Spearrin
33effb1a4d message response 2018-05-15 22:47:52 -04:00
Kyle Spearrin
807cca2bd2 secure storage with env session key 2018-05-15 21:11:58 -04:00
Kyle Spearrin
e8a3325ec9 parse two step login options 2018-05-15 17:17:47 -04:00
Kyle Spearrin
e3eea736ed two-step login prompts 2018-05-15 14:21:42 -04:00
Kyle Spearrin
83e91b70ff fix errors 2018-05-15 11:08:55 -04:00
Kyle Spearrin
4f3f84539d cli response objects 2018-05-14 14:54:19 -04:00
Kyle Spearrin
70c7b182ae setup storage service and log in 2018-05-13 00:19:14 -04:00
Kyle Spearrin
8f49b58d2e stub out some services 2018-05-12 21:24:28 -04:00
Kyle Spearrin
bb54e2a381 command structure. debugging 2018-05-12 15:12:28 -04:00